package cn.tedu.system.log.service.impl;

import cn.tedu.system.log.mapper.LoginInforMapper;
import cn.tedu.system.log.pojo.LoginInfor;
import cn.tedu.system.log.service.LoginInforService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class LoginInforServiceImpl implements LoginInforService {

    @Autowired
    private LoginInforMapper loginInforMapper;
    @Async
    @Override
    public void save(LoginInfor loginInfor) {
        loginInforMapper.insert(loginInfor);
    }
}
